package com.crane.oss.common.bean.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2020年08月21日 15时29分56秒
 */
@ApiModel(description = "修改参数")

@Getter
@Setter
@ToString

public class UpdateDataDictReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "", name = "id")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty(value = "字典值", name = "dictValue")
    @Size(max = 200, message = "dictValue长度超长")
    private String dictValue;

    @ApiModelProperty(value = "字典名称", name = "dictName")
    @Size(max = 30, message = "dictName长度超长")
    private String dictName;

    @ApiModelProperty(value = "排序值", name = "orderValue")
    private Integer orderValue;

    @ApiModelProperty(value = "备注", name = "remark")
    @Size(max = 500, message = "remark长度超长")
    private String remark;


}
